package com.stud.rmi;

import com.stud.exception.ValidationException;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Service extends Remote {

    Account getAccount(Client client) throws RemoteException;

    void saveClient(Client client) throws RemoteException;

    void deleteClient(Client client) throws RemoteException, ValidationException;
}
